/*
 * @Author: your name
 * @Date: 2021-06-09 18:11:12
 * @LastEditTime: 2021-06-12 10:02:02
 * @LastEditors: Please set LastEditors
 * @Description: 处理字符使用
 * @FilePath: \UDP\SERVER_\dealstr.h
 */
#include<stdio.h>
#include<iostream>
using namespace std;
#include <string.h>
#include <string>

class DealStr
{
private:

public:
    //将str的字符转换为数字 比如:'100' -> 100
    int str_To_Num(char* str);
    //给定字符串，长度，将其中的信息提取进数组array[] 1 2 3 -> array[1] = 1...
    void str_To_Array(char* str, int length, int* array);
};